package com.etc.service;

import com.etc.entity.Collection;

public interface CollectionService {
	/**
	 * 添加一条收藏记录
	 * @param customerId
	 * @param gamesId
	 * @return
	 */
	boolean addCollection(Integer customerId, Integer gamesId);
	
	/**
	 * 查询单个收藏
	 * @param customerId
	 * @param gamesId
	 * @return
	 */
	Collection findCollectionByCustomerIdAndGamesId(Integer customerId, Integer gamesId);
	
	/**
	 * 删除单个收藏
	 * @param customerId
	 * @param gamesId
	 * @return
	 */
	boolean deleteCollectionByCustomerIdAndGamesId(Integer customerId, Integer gamesId);
}
